<?php 
// no direct access
defined('_JEXEC') or die('Restricted access');
?>

<?= @text('Hello World'); ?>
<ol>
<? foreach (@$greetings as $greeting) : ?>
<li>
<a href="<?=@route('view=greeting&id='.$greeting->id)?>">
 <?= $greeting->greeting; ?>
</a>
</li>
<? endforeach; ?>
</ol>